package com.orange.adminback.service.impl;

import com.orange.adminback.entity.Menu;
import com.orange.adminback.mapper.MenuMapper;
import com.orange.adminback.service.MenuService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 菜单栏表
 */
@Service
public class MenuServiceImpl implements MenuService {

    @Resource
    private MenuMapper menuMapper;

    @Override
    public Menu selectByMenuId(Integer menuId) {
        return menuMapper.selectById(menuId);
    }
}
